package com.laoniu.service.impl;

import com.laoniu.enums.ServiceTypeEnum;
import com.laoniu.service.CommonService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class OneServiceImpl implements CommonService {
    @Override
    public ServiceTypeEnum getType() {
        return ServiceTypeEnum.ONE;
    }

    @Override
    public String testMethod() {
        log.info("第一个");

        return "返回的是第一个";
    }
}
